package ftl.po;
import  base.*;
public class MakeEntityStep2 {
	public static void main(String[] args) throws Exception 
	{
			  
	 String files[][]=
	{	
//sequence  序号
{"entity.xml","po/entity.cs.ftl","pos/entity/po/Sequence.cs","null.xml","object:sequence;"},
{"entity.xml","po/entityUtil.cs.ftl","pos/entity/util/t_sequence.cs","null.xml","object:sequence;"},
{"entity.xml","po/entityDao.cs.ftl","pos/entity/Dao/partial/SequenceDao.cs","null.xml","object:sequence;"},
{"entity.xml","po/entity.hbm.ftl","pos/entity/xml/Sequence.hbm.xml","null.xml","object:sequence;"}, 
 
//setting  参数表
{"entity.xml","po/entity.cs.ftl","pos/entity/po/Setting.cs","null.xml","object:setting;"},
{"entity.xml","po/entityUtil.cs.ftl","pos/entity/util/t_setting.cs","null.xml","object:setting;"},
{"entity.xml","po/entityDao.cs.ftl","pos/entity/Dao/partial/SettingDao.cs","null.xml","object:setting;"},
{"entity.xml","po/entity.hbm.ftl","pos/entity/xml/Setting.hbm.xml","null.xml","object:setting;"}, 
 
//users  用户
{"entity.xml","po/entity.cs.ftl","pos/entity/po/Users.cs","null.xml","object:users;"},
{"entity.xml","po/entityUtil.cs.ftl","pos/entity/util/t_users.cs","null.xml","object:users;"},
{"entity.xml","po/entityDao.cs.ftl","pos/entity/Dao/partial/UsersDao.cs","null.xml","object:users;"},
{"entity.xml","po/entity.hbm.ftl","pos/entity/xml/Users.hbm.xml","null.xml","object:users;"}, 
 
//class1  大类
{"entity.xml","po/entity.cs.ftl","pos/entity/po/Class1.cs","null.xml","object:class1;"},
{"entity.xml","po/entityUtil.cs.ftl","pos/entity/util/t_class1.cs","null.xml","object:class1;"},
{"entity.xml","po/entityDao.cs.ftl","pos/entity/Dao/partial/Class1Dao.cs","null.xml","object:class1;"},
{"entity.xml","po/entity.hbm.ftl","pos/entity/xml/Class1.hbm.xml","null.xml","object:class1;"}, 
 
//class2  中类
{"entity.xml","po/entity.cs.ftl","pos/entity/po/Class2.cs","null.xml","object:class2;"},
{"entity.xml","po/entityUtil.cs.ftl","pos/entity/util/t_class2.cs","null.xml","object:class2;"},
{"entity.xml","po/entityDao.cs.ftl","pos/entity/Dao/partial/Class2Dao.cs","null.xml","object:class2;"},
{"entity.xml","po/entity.hbm.ftl","pos/entity/xml/Class2.hbm.xml","null.xml","object:class2;"}, 
 
//class3  小类
{"entity.xml","po/entity.cs.ftl","pos/entity/po/Class3.cs","null.xml","object:class3;"},
{"entity.xml","po/entityUtil.cs.ftl","pos/entity/util/t_class3.cs","null.xml","object:class3;"},
{"entity.xml","po/entityDao.cs.ftl","pos/entity/Dao/partial/Class3Dao.cs","null.xml","object:class3;"},
{"entity.xml","po/entity.hbm.ftl","pos/entity/xml/Class3.hbm.xml","null.xml","object:class3;"}, 
 
//commodity  商品
{"entity.xml","po/entity.cs.ftl","pos/entity/po/Commodity.cs","null.xml","object:commodity;"},
{"entity.xml","po/entityUtil.cs.ftl","pos/entity/util/t_commodity.cs","null.xml","object:commodity;"},
{"entity.xml","po/entityDao.cs.ftl","pos/entity/Dao/partial/CommodityDao.cs","null.xml","object:commodity;"},
{"entity.xml","po/entity.hbm.ftl","pos/entity/xml/Commodity.hbm.xml","null.xml","object:commodity;"}, 
 
//dealer  经销商
{"entity.xml","po/entity.cs.ftl","pos/entity/po/Dealer.cs","null.xml","object:dealer;"},
{"entity.xml","po/entityUtil.cs.ftl","pos/entity/util/t_dealer.cs","null.xml","object:dealer;"},
{"entity.xml","po/entityDao.cs.ftl","pos/entity/Dao/partial/DealerDao.cs","null.xml","object:dealer;"},
{"entity.xml","po/entity.hbm.ftl","pos/entity/xml/Dealer.hbm.xml","null.xml","object:dealer;"}, 
 
//storage  商品库存
{"entity.xml","po/entity.cs.ftl","pos/entity/po/Storage.cs","null.xml","object:storage;"},
{"entity.xml","po/entityUtil.cs.ftl","pos/entity/util/t_storage.cs","null.xml","object:storage;"},
{"entity.xml","po/entityDao.cs.ftl","pos/entity/Dao/partial/StorageDao.cs","null.xml","object:storage;"},
{"entity.xml","po/entity.hbm.ftl","pos/entity/xml/Storage.hbm.xml","null.xml","object:storage;"}, 
 
//stock  当日入库流水
{"entity.xml","po/entity.cs.ftl","pos/entity/po/Stock.cs","null.xml","object:stock;"},
{"entity.xml","po/entityUtil.cs.ftl","pos/entity/util/t_stock.cs","null.xml","object:stock;"},
{"entity.xml","po/entityDao.cs.ftl","pos/entity/Dao/partial/StockDao.cs","null.xml","object:stock;"},
{"entity.xml","po/entity.hbm.ftl","pos/entity/xml/Stock.hbm.xml","null.xml","object:stock;"}, 
 
//hstock  历史入库流水
{"entity.xml","po/entity.cs.ftl","pos/entity/po/Hstock.cs","null.xml","object:hstock;"},
{"entity.xml","po/entityUtil.cs.ftl","pos/entity/util/t_hstock.cs","null.xml","object:hstock;"},
{"entity.xml","po/entityDao.cs.ftl","pos/entity/Dao/partial/HstockDao.cs","null.xml","object:hstock;"},
{"entity.xml","po/entity.hbm.ftl","pos/entity/xml/Hstock.hbm.xml","null.xml","object:hstock;"}, 
 
//returned  当日出库记录
{"entity.xml","po/entity.cs.ftl","pos/entity/po/Returned.cs","null.xml","object:returned;"},
{"entity.xml","po/entityUtil.cs.ftl","pos/entity/util/t_returned.cs","null.xml","object:returned;"},
{"entity.xml","po/entityDao.cs.ftl","pos/entity/Dao/partial/ReturnedDao.cs","null.xml","object:returned;"},
{"entity.xml","po/entity.hbm.ftl","pos/entity/xml/Returned.hbm.xml","null.xml","object:returned;"}, 
 
//hreturned  历史出库记录
{"entity.xml","po/entity.cs.ftl","pos/entity/po/Hreturned.cs","null.xml","object:hreturned;"},
{"entity.xml","po/entityUtil.cs.ftl","pos/entity/util/t_hreturned.cs","null.xml","object:hreturned;"},
{"entity.xml","po/entityDao.cs.ftl","pos/entity/Dao/partial/HreturnedDao.cs","null.xml","object:hreturned;"},
{"entity.xml","po/entity.hbm.ftl","pos/entity/xml/Hreturned.hbm.xml","null.xml","object:hreturned;"}, 
 
//saleorder  销售单据
{"entity.xml","po/entity.cs.ftl","pos/entity/po/Saleorder.cs","null.xml","object:saleorder;"},
{"entity.xml","po/entityUtil.cs.ftl","pos/entity/util/t_saleorder.cs","null.xml","object:saleorder;"},
{"entity.xml","po/entityDao.cs.ftl","pos/entity/Dao/partial/SaleorderDao.cs","null.xml","object:saleorder;"},
{"entity.xml","po/entity.hbm.ftl","pos/entity/xml/Saleorder.hbm.xml","null.xml","object:saleorder;"}, 
 
//sale  当日销售流水
{"entity.xml","po/entity.cs.ftl","pos/entity/po/Sale.cs","null.xml","object:sale;"},
{"entity.xml","po/entityUtil.cs.ftl","pos/entity/util/t_sale.cs","null.xml","object:sale;"},
{"entity.xml","po/entityDao.cs.ftl","pos/entity/Dao/partial/SaleDao.cs","null.xml","object:sale;"},
{"entity.xml","po/entity.hbm.ftl","pos/entity/xml/Sale.hbm.xml","null.xml","object:sale;"}, 
 
//hsale  历史销售流水
{"entity.xml","po/entity.cs.ftl","pos/entity/po/Hsale.cs","null.xml","object:hsale;"},
{"entity.xml","po/entityUtil.cs.ftl","pos/entity/util/t_hsale.cs","null.xml","object:hsale;"},
{"entity.xml","po/entityDao.cs.ftl","pos/entity/Dao/partial/HsaleDao.cs","null.xml","object:hsale;"},
{"entity.xml","po/entity.hbm.ftl","pos/entity/xml/Hsale.hbm.xml","null.xml","object:hsale;"}, 
 
//money  当日资金流水
{"entity.xml","po/entity.cs.ftl","pos/entity/po/Money.cs","null.xml","object:money;"},
{"entity.xml","po/entityUtil.cs.ftl","pos/entity/util/t_money.cs","null.xml","object:money;"},
{"entity.xml","po/entityDao.cs.ftl","pos/entity/Dao/partial/MoneyDao.cs","null.xml","object:money;"},
{"entity.xml","po/entity.hbm.ftl","pos/entity/xml/Money.hbm.xml","null.xml","object:money;"}, 
 
//salereport  销售报表
{"entity.xml","po/entity.cs.ftl","pos/entity/po/Salereport.cs","null.xml","object:salereport;"},
{"entity.xml","po/entityUtil.cs.ftl","pos/entity/util/t_salereport.cs","null.xml","object:salereport;"},
{"entity.xml","po/entityDao.cs.ftl","pos/entity/Dao/partial/SalereportDao.cs","null.xml","object:salereport;"},
{"entity.xml","po/entity.hbm.ftl","pos/entity/xml/Salereport.hbm.xml","null.xml","object:salereport;"}, 
 
//hmoney  历史资金流水
{"entity.xml","po/entity.cs.ftl","pos/entity/po/Hmoney.cs","null.xml","object:hmoney;"},
{"entity.xml","po/entityUtil.cs.ftl","pos/entity/util/t_hmoney.cs","null.xml","object:hmoney;"},
{"entity.xml","po/entityDao.cs.ftl","pos/entity/Dao/partial/HmoneyDao.cs","null.xml","object:hmoney;"},
{"entity.xml","po/entity.hbm.ftl","pos/entity/xml/Hmoney.hbm.xml","null.xml","object:hmoney;"}, 
 
//member  会员表
{"entity.xml","po/entity.cs.ftl","pos/entity/po/Member.cs","null.xml","object:member;"},
{"entity.xml","po/entityUtil.cs.ftl","pos/entity/util/t_member.cs","null.xml","object:member;"},
{"entity.xml","po/entityDao.cs.ftl","pos/entity/Dao/partial/MemberDao.cs","null.xml","object:member;"},
{"entity.xml","po/entity.hbm.ftl","pos/entity/xml/Member.hbm.xml","null.xml","object:member;"}, 
 
//cart  购物车
{"entity.xml","po/entity.cs.ftl","pos/entity/po/Cart.cs","null.xml","object:cart;"},
{"entity.xml","po/entityUtil.cs.ftl","pos/entity/util/t_cart.cs","null.xml","object:cart;"},
{"entity.xml","po/entityDao.cs.ftl","pos/entity/Dao/partial/CartDao.cs","null.xml","object:cart;"},
{"entity.xml","po/entity.hbm.ftl","pos/entity/xml/Cart.hbm.xml","null.xml","object:cart;"}, 
 
//esale  网络销售
{"entity.xml","po/entity.cs.ftl","pos/entity/po/Esale.cs","null.xml","object:esale;"},
{"entity.xml","po/entityUtil.cs.ftl","pos/entity/util/t_esale.cs","null.xml","object:esale;"},
{"entity.xml","po/entityDao.cs.ftl","pos/entity/Dao/partial/EsaleDao.cs","null.xml","object:esale;"},
{"entity.xml","po/entity.hbm.ftl","pos/entity/xml/Esale.hbm.xml","null.xml","object:esale;"}, 
 
//scommodity  网上订单
{"entity.xml","po/entity.cs.ftl","pos/entity/po/Scommodity.cs","null.xml","object:scommodity;"},
{"entity.xml","po/entityUtil.cs.ftl","pos/entity/util/t_scommodity.cs","null.xml","object:scommodity;"},
{"entity.xml","po/entityDao.cs.ftl","pos/entity/Dao/partial/ScommodityDao.cs","null.xml","object:scommodity;"},
{"entity.xml","po/entity.hbm.ftl","pos/entity/xml/Scommodity.hbm.xml","null.xml","object:scommodity;"}, 
 
//operatelog  操作日志
{"entity.xml","po/entity.cs.ftl","pos/entity/po/Operatelog.cs","null.xml","object:operatelog;"},
{"entity.xml","po/entityUtil.cs.ftl","pos/entity/util/t_operatelog.cs","null.xml","object:operatelog;"},
{"entity.xml","po/entityDao.cs.ftl","pos/entity/Dao/partial/OperatelogDao.cs","null.xml","object:operatelog;"},
{"entity.xml","po/entity.hbm.ftl","pos/entity/xml/Operatelog.hbm.xml","null.xml","object:operatelog;"}, 
 
//eorder  网上订单
{"entity.xml","po/entity.cs.ftl","pos/entity/po/Eorder.cs","null.xml","object:eorder;"},
{"entity.xml","po/entityUtil.cs.ftl","pos/entity/util/t_eorder.cs","null.xml","object:eorder;"},
{"entity.xml","po/entityDao.cs.ftl","pos/entity/Dao/partial/EorderDao.cs","null.xml","object:eorder;"},
{"entity.xml","po/entity.hbm.ftl","pos/entity/xml/Eorder.hbm.xml","null.xml","object:eorder;"}, 
 
//eorderLog  网上订单日志
{"entity.xml","po/entity.cs.ftl","pos/entity/po/EorderLog.cs","null.xml","object:eorderLog;"},
{"entity.xml","po/entityUtil.cs.ftl","pos/entity/util/t_eorderLog.cs","null.xml","object:eorderLog;"},
{"entity.xml","po/entityDao.cs.ftl","pos/entity/Dao/partial/EorderLogDao.cs","null.xml","object:eorderLog;"},
{"entity.xml","po/entity.hbm.ftl","pos/entity/xml/EorderLog.hbm.xml","null.xml","object:eorderLog;"}, 
 
//{"constant.xml","po/enum_constants.java.ftl","src/com/cus/vip/websystem/po/EnumRecordState.java","null.xml","object:RecordState;"},  
//{"constant.xml","po/enum_constants.java.ftl","src/com/cus/vip/websystem/po/EnumUserState.java","null.xml","object:UserState;"},  
//{"constant.xml","po/enum_constants.java.ftl","src/com/cus/vip/websystem/po/EnumUserType.java","null.xml","object:UserType;"},  
//{"constant.xml","po/enum_constants.java.ftl","src/com/cus/vip/websystem/po/EnumUserLevel.java","null.xml","object:UserLevel;"},  
	};
	for(int i=0;i<files.length;i++)
	  AutoCode.execute(files[i]);
			  
	}
}
/*
 *
 *  xml/entity.xml 	table/t_atable.sql.ftl  Resource/sql/tables/t_WebPage.sql null.xml  object:WebPage;

 */
